import os

def build():
	env = Environment(ENV = os.environ, 
		CCFLAGS='/Zi /EHs /nologo /MT', 
		LINKFLAGS='/debug /nologo')
	env.Program('al_game', 
		'main.cpp', 
		LIBS=['v8', 'd3d9', 'd3dx9', 'dinput8',
		'allegro',
		'allegro_acodec',
		'allegro_audio',
		'allegro_color',
		'allegro_dialog',
		'allegro_font',
		'allegro_image',
		'allegro_main',
		'allegro_memfile',
		'allegro_primitives'
		], 
		LIBPATH=['.', 
			r'd:\works\opensource\allegro5.0\lib',
			r'D:\Program Files\Microsoft DirectX SDK (June 2010)\Lib\x86'],
		CPPPATH=[r'd:\works\opensource\kenai\v8\include', 
			r'd:\works\opensource\v8\include',
			r'd:\works\opensource\allegro5.0\include',
			r'D:\Program Files\Microsoft DirectX SDK (June 2010)\Include'])

build()


